# foreColor1/2 attribute

In color animation, the foreColor1/2 attribute sets the object's line color for up to 16 tag or expression values (A to P). As the tag or expression value changes, the color of the object changes. Each value can have a different color. The foreground color applies to the object's border. If the foreBehavior attribute is solid, foreColor1 is the same as foreColor2. If the foreBehavior attribute is blink, foreColor2 can be set to a different color than foreColor1.

The animateColor elements within an animations element contain this attribute.

FactoryTalk View equivalent: foreground on the Animation Color tab

## See also

foreColor1/2 attribute syntax

foreBehavior attribute

animations and animate elements